﻿/// Write a method that returns the last digit of given integer as an English word. 
/// Examples: 512  "two", 1024  "four", 12309  "nine".

using System;

namespace c_sh_II_lek_3
{
    class Zad3
    {
        static void Main()
        {
            int num = GetLastDigit(int.Parse(Console.ReadLine()));
            Console.WriteLine(GetNumberAsWord(num));

        }

        public static int GetLastDigit(int number)
        {
            return number % 10;
        }

        static string GetNumberAsWord(int number)
        {
            string word = "";
            switch (number)
            {
                case 0: word = "Zero"; break;
                case 1: word = "One"; break;
                case 2: word = "Two"; break;
                case 3: word = "Three"; break;
                case 4: word = "Four"; break;
                case 5: word = "Five"; break;
                case 6: word = "Six"; break;
                case 7: word = "Seven"; break;
                case 8: word = "Eight"; break;
                case 9: word = "Nine"; break;
            }

            return word;
        }
    }
}
